package com.hcy.driver.service;

import com.hcy.driver.dto.request.BaseInfoRequestDTO;
import com.hcy.driver.dto.response.DriverCarInfoResponseDTO;
import com.hcy.ordermodel.dto.response.HomeInfoResponseDTO;
import com.hcy.driver.entity.CarInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hcy.ordermodel.dto.request.HomeInfoRequestDTO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hcy
 * @since 2021-12-29
 */
public interface ICarInfoService extends IService<CarInfo> {
    HomeInfoResponseDTO getCarInfo(HomeInfoRequestDTO requestDTO);

    boolean updateCarStatus(BaseInfoRequestDTO baseInfoRequestDTO);

    DriverCarInfoResponseDTO getDriverCarInfo(Integer driverId);

    DriverCarInfoResponseDTO carDriverInfo(Integer carId);

    List<DriverCarInfoResponseDTO> carDriverInfoList(List<Integer> carIds);
}
